package cn.allinmd.indi.applymodelxian.comm.dao;

import java.util.List;

import cn.allinmd.indi.applymodelxian.model.authenticate.bizz.IAuthModel;

/**
 * @author: XianXueLiang
 * @date: 2016/6/22
 */
public interface ICommonDao<T> {
    void insert(T t, IAuthModel.OnAuthStateListener<T> listener);
    void deleteById(long id,IAuthModel.OnAuthStateListener<T> listener);
    void update(T t,IAuthModel.OnAuthStateListener<T> listener);
    List<T> queryAll();

}
